package com.itcm.skymail.product.feign;

import com.itcm.common.to.es.SkuEsModel;
import com.itcm.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 描述:
 *
 * @author cm_fighting
 * @create 2020-10-13 5:29 下午
 */
@FeignClient("skymail-search")
public interface SearchFeignService {
    @PostMapping("/search/save/product")
    R productUp(@RequestBody List<SkuEsModel> skuEsModels);
}
